<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>文件编辑</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
		<load href="__JS__/menu.js" />
		<load href="__JS__/leftmenubar.js" />
</head>
<body>
<layout name="Auth:header" />
	<div class="container-fluid">
    	<div class="row-fluid">
			<layout name="Auth:Courseleftmenu" />
            	<div class="span8">
                  <div class="hero-unit">
                    <h1>资料修改</h1>
                    <p style="font-size:12px"> 当前位置：
                        <a href='__APP__/index/index' class="nowpositionhref">主页</a>>
                        <a href='__URL__/index' class="nowpositionhref">课程展示</a>>
                        <a href='__URL__/course/id/{$id}' class="nowpositionhref">{$coursename}</a>>
                        <a href='__URL__/download/id/{$id}' class="nowpositionhref">资料管理</a>>
                        <a href="" class="nowpositionhref">资料修改</a>
                     </p>
                    </div>
                 	<form id='form1' method="post" action="__URL__/fileupdate" > 
                    <div id='result' align="left" style="width:63%; color:red; font-size:12px;"></div> 
					<table class="table table-bordered">
                    	<thead>
                        	<tr>
                            	<th>文件名：{$vo.name}</th>
                                <th>作者：{$vo.nname}</th>
                            </tr>
                        </thead>
                        <tbody>
                        	<tr>
                            	<td colspan="2">
                                	<input type='text' name='name' placeholder="修改文件名称" class="usingPlaceHolder">
                                	<input type="hidden" name="id" value={$vo.id}>
									<input type='hidden' name='courseid' value={$vo.courseid}>
                                </td>
                            </tr>
                            <tr>
                            	<td colspan="2" style="text-align:right">
                                	<input type="submit" value="更新" class="btn btn-success" style="width:90px">
                                </td>
                            </tr>
                        </tbody>
                    </table>
		</form>
	</div>
   </div>
  </div>
</body>
</html>